/**
 * 
 */
package domain.queue;

import domain.ConcurrentContainerInterface;

/**
 * @author igordv
 *
 */
public abstract class AbstractConcurrentQueue<E> implements ConcurrentContainerInterface <E> {

	@Override
	public void insert(E item) {
		enqueue(item);
	}

	@Override
	public E remove() {
		return dequeue();
	}

	public abstract void enqueue(E item); 

	public abstract E dequeue();
}
